import request from "@/utils/request";

// 添加编辑收货地址
const address_edit=(data)=>request("/address/edit","POST",data)

// 收货地址列表
const address_getlist=(data)=>request("/address/getlist","POST",data)
// 设置默认地址
const setdefault=(data)=>request("/address/setdefault","POST",data)
// 删除地址
const address_del=(data)=>request("/address/del","POST",data)

export {
    address_edit,
	address_getlist,
	setdefault,
	address_del
}